package com.kevin.struts2.view.action;

import com.kevin.struts2.dto.User;

@SuppressWarnings("serial")
public class UserAction extends BaseAction {

	private User user;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String execute() {

		System.out.println(this.getUser().getName());

		return SUCCESS;
	}
}
